package com.portal.cwegportal;

import com.appcenter.jz.app.CurrentUser;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

import java.util.TimeZone;

//开启事务注解
//@EnableTransactionManagement

//注入Mapper
@MapperScan("com.portal.cwegportal.mapper")
//Swagger2注解
@EnableSwagger2
@SpringBootApplication
public class CwegPortalApplication {

    public static void main(String[] args) {
//        String temp="wangzengli";
//        CurrentUser.setUserId(temp);
//        CurrentUser.setUserCode(temp);
//        CurrentUser.setUserName(temp);
        SpringApplication.run(CwegPortalApplication.class, args);
    }
}
